[INFO] cloning repository https://github.com/trangmaiq/tetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trangmaiq/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrangmaiq%2Ftetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrangmaiq%2Ftetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 835452e64ce33deacc6fe0e5a166cc9c364d48a9
[INFO] building trangmaiq/tetris against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrangmaiq%2Ftetris" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/trangmaiq/tetris on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/trangmaiq/tetris
[INFO] finished tweaking git repo https://github.com/trangmaiq/tetris
[INFO] tweaked toml for git repo https://github.com/trangmaiq/tetris written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/trangmaiq/tetris already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0d9f8ab3efc305eb531aa98280f851617a8245908ef66ee120147434d1dc4784
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0d9f8ab3efc305eb531aa98280f851617a8245908ef66ee120147434d1dc4784", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d9f8ab3efc305eb531aa98280f851617a8245908ef66ee120147434d1dc4784", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d9f8ab3efc305eb531aa98280f851617a8245908ef66ee120147434d1dc4784", kill_on_drop: false }`
[INFO] [stdout] 0d9f8ab3efc305eb531aa98280f851617a8245908ef66ee120147434d1dc4784
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34df4fc2117a54793d315f26eed266d41a2f4edb658c3ca4929f2cecfb487919
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "34df4fc2117a54793d315f26eed266d41a2f4edb658c3ca4929f2cecfb487919", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling sdl2-sys v0.30.0
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling sdl2 v0.30.0
[INFO] [stderr]    Compiling tetris v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]    --> src/main.rs:247:7
[INFO] [stdout]     |
[INFO] [stdout] 43  | impl Tetris {
[INFO] [stdout]     |             - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 166 |             .create_texture_target(None, size, size) {
[INFO] [stdout]     |                                                      - this delimiter might not be properly closed...
[INFO] [stdout] ...
[INFO] [stdout] 177 |         } else { None }
[INFO] [stdout]     |         - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 247 |     }
[INFO] [stdout]     |       ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_square_texture_rect` in this scope
[INFO] [stdout]   --> src/main.rs:94:44
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let blue_square_texture: Texture = create_square_texture_rect(
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_square_texture_rect` in this scope
[INFO] [stdout]   --> src/main.rs:99:45
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let green_square_texture: Texture = create_square_texture_rect(
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `slice_to_string` in this scope
[INFO] [stdout]    --> src/main.rs:205:28
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let s_highscores = slice_to_string(highscores);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `slice_to_string` in this scope
[INFO] [stdout]    --> src/main.rs:206:33
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let s_number_of_lines = slice_to_string(number_of_lines);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_into_file` in this scope
[INFO] [stdout]    --> src/main.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |         write_into_file(format!("{}\n{}\n", s_highscores,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_from_file` in this scope
[INFO] [stdout]    --> src/main.rs:225:30
[INFO] [stdout]     |
[INFO] [stdout] 225 |         if let Ok(content) = read_from_file("scores.txt") {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `line_to_slice` in this scope
[INFO] [stdout]    --> src/main.rs:227:17
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 line_to_slice(line)).collect::<Vec<_>>();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Rect`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::rect::Rect;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::version::version`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sdl2::version::version;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetris`
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "34df4fc2117a54793d315f26eed266d41a2f4edb658c3ca4929f2cecfb487919", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34df4fc2117a54793d315f26eed266d41a2f4edb658c3ca4929f2cecfb487919", kill_on_drop: false }`
[INFO] [stdout] 34df4fc2117a54793d315f26eed266d41a2f4edb658c3ca4929f2cecfb487919
